@import "fontsize-and-color.scss";

.footer-links {
  width: 1226px;
  min-width: 1226px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;

  dl {
    width: 160px;
    display: flex;
    flex-direction: column;

    dt {
      @include font-normal;
      color: $main-text-2nd;
      margin-bottom: 24px;
    }

    dd {
      @include font-small;
      margin-top: 8px;

      &:first-child {
        margin-top: 0;
      }

      a {
        color: $main-text-3rd;
        transition: color .2s;

        &:hover {
          color: $mi-theme-color;
        }
      }
    }
  }

  .contact-us {
    width: 250px;
    height: fit-content;
    margin-left: 6px;
    border-left: 1px solid #E0E0E0;

    .contact-content {
      display: flex;
      flex-direction: column;
      align-items: center;

      p:first-child {
        @include font-very-big;
        color: $mi-theme-color;
      }

      p:nth-child(2) {
        @include font-small;
        color: $secondary-text-2nd;
      }

      a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 120px;
        height: 30px;
        color: $mi-theme-color;
        border: 1px solid $mi-theme-color;
        margin-top: 5px;
        transition: .5s;

        .iconfont {
          display: flex;
          align-items: center;
          font-size: 12px;
          line-height: 12px;
          color: $mi-theme-color;
          margin-right: 5px;
          transition: .4s;
        }

        span:last-child {
          @include font-small;
        }

        &:hover {
          background-color: $mi-theme-color;
          color: #fff;
        }

        &:hover .iconfont {
          color: #fff;
        }
      }

    }
  }

}